package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.util.Date;

public class FrontCategory implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 父id 0为最上级
     *
     * @mbg.generated
     */
    private Integer pid;

    /**
     * 类型：商城mall 动态视频 dynamic 直播live
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 分类名称
     *
     * @mbg.generated
     */
    private String title;

    /**
     * 英文标题
     *
     * @mbg.generated
     */
    private String enTitle;

    /**
     * navigateTo-具体页面 
switchTab-底部栏
     *
     * @mbg.generated
     */
    private String urlType;

    /**
     * 图片
     *
     * @mbg.generated
     */
    private String imgUrl;

    /**
     * 缩列图
     *
     * @mbg.generated
     */
    private String shrinkImgUrl;

    /**
     * 研究所标题图
     *
     * @mbg.generated
     */
    private String geaduateTitleUrl;

    /**
     * 生活馆封面
     *
     * @mbg.generated
     */
    private String geaduateImg;

    /**
     * 触发url
     *
     * @mbg.generated
     */
    private String eventUrl;

    /**
     * 额外展示
     *
     * @mbg.generated
     */
    private String extra;

    /**
     * 是否是研究所专栏 0 否 1是
     *
     * @mbg.generated
     */
    private Byte isGraduate;

    /**
     * 是否首页显示0 否1 是
     *
     * @mbg.generated
     */
    private Byte isHomeShow;

    /**
     * 状态：1-显示 0-隐藏
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 背景色
     *
     * @mbg.generated
     */
    private String backgroundColor;

    /**
     * 添加时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 类目类型 1-一级类目  2-自定义类目
     *
     * @mbg.generated
     */
    private Byte categoryType;

    /**
     * 后台分类集合
     *
     * @mbg.generated
     */
    private String categoryList;

    /**
     * 跳转类型 1-网页跳转 2-原生跳转
     *
     * @mbg.generated
     */
    private Byte skipType;

    /**
     * 是否删除 0-否 1-是
     *
     * @mbg.generated
     */
    private Byte isDelete;

    /**
     * 分类描述
     *
     * @mbg.generated
     */
    private String comment;

    /**
     * 前端人员需要此数据，控制页面的显示
     *
     * @mbg.generated
     */
    private String markCategory;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getEnTitle() {
        return enTitle;
    }

    public void setEnTitle(String enTitle) {
        this.enTitle = enTitle;
    }

    public String getUrlType() {
        return urlType;
    }

    public void setUrlType(String urlType) {
        this.urlType = urlType;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getShrinkImgUrl() {
        return shrinkImgUrl;
    }

    public void setShrinkImgUrl(String shrinkImgUrl) {
        this.shrinkImgUrl = shrinkImgUrl;
    }

    public String getGeaduateTitleUrl() {
        return geaduateTitleUrl;
    }

    public void setGeaduateTitleUrl(String geaduateTitleUrl) {
        this.geaduateTitleUrl = geaduateTitleUrl;
    }

    public String getGeaduateImg() {
        return geaduateImg;
    }

    public void setGeaduateImg(String geaduateImg) {
        this.geaduateImg = geaduateImg;
    }

    public String getEventUrl() {
        return eventUrl;
    }

    public void setEventUrl(String eventUrl) {
        this.eventUrl = eventUrl;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public Byte getIsGraduate() {
        return isGraduate;
    }

    public void setIsGraduate(Byte isGraduate) {
        this.isGraduate = isGraduate;
    }

    public Byte getIsHomeShow() {
        return isHomeShow;
    }

    public void setIsHomeShow(Byte isHomeShow) {
        this.isHomeShow = isHomeShow;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getBackgroundColor() {
        return backgroundColor;
    }

    public void setBackgroundColor(String backgroundColor) {
        this.backgroundColor = backgroundColor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(Byte categoryType) {
        this.categoryType = categoryType;
    }

    public String getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(String categoryList) {
        this.categoryList = categoryList;
    }

    public Byte getSkipType() {
        return skipType;
    }

    public void setSkipType(Byte skipType) {
        this.skipType = skipType;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getMarkCategory() {
        return markCategory;
    }

    public void setMarkCategory(String markCategory) {
        this.markCategory = markCategory;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pid=").append(pid);
        sb.append(", type=").append(type);
        sb.append(", sort=").append(sort);
        sb.append(", title=").append(title);
        sb.append(", enTitle=").append(enTitle);
        sb.append(", urlType=").append(urlType);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", shrinkImgUrl=").append(shrinkImgUrl);
        sb.append(", geaduateTitleUrl=").append(geaduateTitleUrl);
        sb.append(", geaduateImg=").append(geaduateImg);
        sb.append(", eventUrl=").append(eventUrl);
        sb.append(", extra=").append(extra);
        sb.append(", isGraduate=").append(isGraduate);
        sb.append(", isHomeShow=").append(isHomeShow);
        sb.append(", status=").append(status);
        sb.append(", backgroundColor=").append(backgroundColor);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", categoryType=").append(categoryType);
        sb.append(", categoryList=").append(categoryList);
        sb.append(", skipType=").append(skipType);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", comment=").append(comment);
        sb.append(", markCategory=").append(markCategory);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}